package com.wu.pojo.res;

import java.util.LinkedHashMap;

public class ApiErrorResult extends LinkedHashMap<String,Object> {
    private static final String DATA = "data";
    private static final String CODE_KEY = "code";
    private static final String MESSAGE_KEY =  "message";

    public ApiErrorResult(String code, String message, Object data) {
        this.put(CODE_KEY,code);
        this.put(MESSAGE_KEY,message);
        this.put(DATA,data);
    }
}
